package org.tea.inventory.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 历史入职年限表
 */
@ApiModel(value = "org-alumni-record-mall-domain-MallHisDgtYear")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MedalFluxVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "")
    private Long id;
    @ApiModelProperty(value = "")
    private String loginId;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String staffName;
    /**
     * 历史入职年限
     */
    @ApiModelProperty(value = "历史入职年限(月)")
    private Long hisYear;

    public MedalFluxVo(String loginId, String staffName, Long hisYear) {
        this.loginId = loginId;
        this.staffName = staffName;
        this.hisYear = hisYear;
    }

    public MedalFluxVo(String loginId, Long hisYear) {
        this.loginId = loginId;
        this.hisYear = hisYear;
    }
}